import { Http } from "../http/http"

class IndexModel {
  
  static async bannerList(){
    return await Http.request({
        url: `system/banner/list`,
        method:'GET',
    })
  }

  /**
   * 字典列表
   */
  static async dictList(type){
    return await Http.request({
        url: `system/dict/data/list?dictType=${type}`,
        method:'GET',
    })
  }
}

export {
  IndexModel
}